import request from '@/utils/request'

// 查询NH数据列表
export function listNhSearch(query) {
  return request({
    url: '/system/nhSearch/list',
    method: 'get',
    params: query
  })
}

// 查询NH数据详细
export function getNhSearch(id) {
  return request({
    url: '/system/nhSearch/' + id,
    method: 'get'
  })
}

// 新增NH数据
export function addNhSearch(data) {
  return request({
    url: '/system/nhSearch',
    method: 'post',
    data: data
  })
}

// 修改NH数据
export function updateNhSearch(data) {
  return request({
    url: '/system/nhSearch',
    method: 'put',
    data: data
  })
}

// 删除NH数据
export function delNhSearch(id) {
  return request({
    url: '/system/nhSearch/' + id,
    method: 'delete'
  })
}
